{extend name="public/base"/}
{block name="body"}

<div class="main-box clearfix">
	<header class="main-box-header clearfix">
		<div class="pull-left">
			<h2>科普新闻</h2>
		</div>
	</header>
	<div class="main-box-body clearfix">
		<div class="tabs-wrapper">
			<ul class="nav nav-tabs">
				<li class="active">
					<a href="#tab-base" data-toggle="tab">基 础</a>
				</li>
			</ul>
			<div class="tab-content">
				<div class="tab-pane fade in active" id="tab-base">
					<form method="post" class="form form-horizontal" role="form">
						<div class="form-group">
							<label for="inputEmail1" class="col-lg-2 control-label">标题</label>
							<div class="col-lg-10">
								<input class="form-control" style="width:50%;" type="text" name="title" value="">
							</div>
						</div>
						<div class="form-group">
							<label class="col-lg-2 control-label">状态</label>
							<div class="col-lg-8 col-sm-10">
								<div class="radio radio-nice radio-inline">
									<input type="radio" name="status" id="is_open-1" value="1" checked>
									<label for="is_open-1">启用</label>
								</div>
								<div class="radio radio-nice radio-inline">
									<input type="radio" name="status" id="is_open-0" value="0">
									<label for="is_open-0">禁用</label>
								</div>
							</div>
						</div>
						<div class="form-group">
							<label for="inputEmail1" class="col-lg-2 control-label">内容</label>
							<div class="col-lg-10">
								<textarea name="content" id="content"></textarea>
							</div>
						</div>
						<div class="clearfix"></div>

						<div class="form-group">
							<div class="col-lg-offset-2 col-lg-10">
								<button type="submit" class="btn btn-success submit-btn ajax-post" target-form="form">确认提交</button>
								<button class="btn btn-danger btn-return" onclick="javascript:history.back(-1);return false;">返 回</button>
							</div>
						</div>
					</form>
				</div>
			</div>
		</div>
	</div>
</div>
<script type="text/javascript" src="__PUBLIC__/plugs/ueditor/ueditor.config.js"></script>
<script type="text/javascript" src="__PUBLIC__/plugs/ueditor/ueditor.all.min.js"></script>
<script type="text/javascript">
var ue = UE.getEditor('content',{
	autoHeightEnabled: true,
	autoFloatEnabled: true,
});
</script>
{/block}
